SlideShare a Scribd company logo
1 of 38
Web Apps
  2010.08.18
Web App vs Native App
• Web App            ?
  web app
  web app                    iTunes App Store

  Object-C


• Native App             ?
  Object-C
  iTunes App Store
Web App vs Native App
            Web App                                         Native App

          HTML, CSS, Javascript                       Objective-C(iPhone), Java(Android)

                                                      XCode(iPhone), Eclipse(Android)
                      , iUI, jQTouch...         Cocoa Touch(iPhone), UI Framework(Android)
            Mac                                 Mac         (iPhone), Android

      App                                                       $99(iPhone) or $35(Android)

                         -         /      ...

                                                App Store/Market                /       &

                                                                                    (iPhone)

 Android/Blackberry
HTML5                               ?


•
                 iPhone, Android
                   HTML5
    WebKit

•
    iOS, Android, Blackberry,      , Windows
    Mobile, Windows Phone 7
HTML5   ?
HTML5   ?
HTML5                                                           ?


•   Even Google was not rich enough to support all of the different mobile
    platforms from Apple’s AppStore to those of the BlackBerry, Windows
    Mobile, Android and the many variations of the Nokia platform

    - Vic Gundotra, Google Engineering VP

•   2010년 6월 24일에 공지된 행정안전부 고시 “제 2010-40호”
    국민들이 다양한 모바일 기기를 사용할 수 있도록 ‘모바일 앱(App)’ 방
    식보다 ‘모바일 웹(Web)‘ 방식을 표준으로 권고
    모바일 웹 방식 서비스 개발을 위한 기술 표준지침 마련
        3
HTML5 Key Elements for Mobile


• Offline        : LocalStorage, Web Database,
    App Cache

•               : Video, Audio, Cnavas

•           : Advanced Forms

•           : GeoLocation
HTML5 on Mobile

•             HTML5

•
•    Moblie      HTML5

•
HTML5 = HTML + CSS3 + JS API
JS API
• Client Side Storage
  - Web SQL Database
  - App Cache (cache-manifest)
  - Web Storage (localStorage, sessionStorage)


• Communication
  - Web Sockets
  - Web Workers


• Desktop experience
  - Notifications
  - Drag & Drop API


• Geolocation
HTML
• Semantics (New tags, Link Relations,
  Microdata)
• Accessibility (ARIA roles)
• Web Forms 2.0 (Input Fields)
• Multimedia (Audio Tag,Video Tag)
• 2D & 3D drawing (Canvas, WebGL, SVG)
CSS

• Typography
• Visuals
• Transitions, Transforms & Animations
iPhone Web App

•           iPhone
    - App Store
    - App + Web Hybrid
    - iPad               Web App
    - DashCode


• Safari
    -
                    Add to Home Screen
Web App
• Online Web Application


• Offline Enabled Web Application
Web App
• Offline Web Application


• Hybrid Web Application
Web Apps On iPhone
iPhone Web App                                                          1

•                css
    <link rel=”stylesheet” type=”text/css” href=”iphone.css” media=”only
    screen and (max-width: 480px)” />
    <link rel=”stylesheet” type=”text/css” href=”desktop.css” media=”screen
    and (min-width: 481px)” />


• User Agent
    Mozilla/5.0 (iPad; U CPU like Mac OS X; en) AppleWebKit/420.1 (KHTML,
    like Gecko) Version 3.0 Mobile/4A93 Safari/419.3
    Mozilla/5.0 (iPhone; U CPU like Mac OS X; en) AppleWebKit/420+
    (KHTML, like Gecko) Version 3.0 Mobile/1A543 Safari/419.3
    Mozilla/5.0 (iPod; U CPU OS 3_2 like Mac OS X; en) AppleWebKit/
    531.21.10 (KHTML, like Gecko) Version 4.0.4 Mobile/7B334B Safari/531.21
    javascript : if((navigator.userAgent.match(/iPhone/i)) {}
    php : if(strpos($_SERVER[‘HTTP_USER_AGENT’], ‘iPod’) !== false) {}
iPhone Web App                                                            2
•   iPhone Browser         & viewport
    iPhone : 320 x 480px
                                                   Status Bar : 20px

                                                    URL Bar : 60px

                                                            : 320x356px


                                        Viewport :                       980px
                                        <meta name=‘viewport‘
                                             content=‘width=device-width;
                                                      initial-scale=1.0;
                                                      user-scalable=no’ />


                                                   Button Bar : 44px
iPhone Web App                                                        3
•   Safari UI (URL Bar, Button Bar)
    <meta name=”apple-mobile-web-app-capable” content=”yes” />
                                                                 /
    <meta name=”apple-mobile-web-app-status-bar-style” content=”black” />

    *

    *           URL Bar
    window.addEventListener(‘load’, function() {
        setTimeout(scrollTo, 0, 0, 1);
    }, false);

    * status-bar-style: default, black, black-translucent(   )

    * UI        Fullscreen
    if (navigator.standalone) {
        alert(‘                 ’);
    }
iPhone Web App                                                         4

•                (57x57)
    <link rel=”apple-touch-icon” href=”apple-touch-icon.png” />
    <link rel=”apple-touch-icon” href=”apple-touch-icon-precomposed.png” />




• Startup
    <link rel=”apple-touch-startup-image” href=”/startup.png” />

    * Home
iPhone Web App                                                5
•                    Orientation
    function checkOrientation() {
       switch (window.orientation) {
          case 0: alert(‘Orientation: Portrait’); break;
          case 90:
          case -90: alert(‘Orientation: Landscape’); break;
       }
    }


•           Online
    function checkOnline() {
       if (navigator.onLine) {
           alert(‘There is a network connection’);
       else {
           alert(‘There is no network connection’);
       }
    }
iPhone Web App   6
iPhone Web App   6
iPhone Web App   6
iPhone Web App   6
iPhone Web App   6
iPhone Web App                           7
• iPhone style UI library
  * jQTouch - http://jqtouch.com
  * iUI - http://iui-js.org
  * WebApp.Net - http://webapp-net.com
iPhone Web App                                                           8
•
    <style type=”text/css” media=”screen”>@import “jqtouch.min.css”;</style>
    <style type=”text/css” media=”screen”>@import “themes/apple/
    theme.min.css”;</style>
    <script src=”jquery.1.3.2.min.js” type=”text/javascript” charset=”utf-8”></
    sript>
    <script src=”jqtouch.min.js” type=”text/javascript” charset=”utf-8”></
    script>
    <script type=”text/javascript”>
    var jQT = $.jQTouch({
        icon: ‘icon.png’,
        statusBar: ‘black’
    });
    </script>
iPhone Web App                                                        9
•   View
    <div id=”home”>
       <div class=”toolbar”>
          <h1>CPCGUARD</h1>
       </div>
       <ul>
          <li class=”arrow”><a href=”#content”>CPCGUARD         </a></li>
          <li class=”arrow”><a href=”#content”>S-POPUP</a></li>
          <li class=”arrow”><a href=”#content”>S-ON</a></li>
       </ul>
    </div>

    <div id=”content”>
      <div class=”toolbar”>
          <h1>CONTENT</h1>
          <a class=”button back” href=”#”>Back</a>
      </div>
    </div>
iPhone Web App   10
Web app
Web app
Web app
Web app
Web app
Web app

More Related Content

What's hot

Building Mobile Applications with Ionic
Building Mobile Applications with IonicBuilding Mobile Applications with Ionic
Building Mobile Applications with IonicMorris Singer
 
Testing For Web Accessibility
Testing For Web AccessibilityTesting For Web Accessibility
Testing For Web AccessibilityHagai Asaban
 
Ionic: The Web SDK for Develop Mobile Apps.
Ionic: The Web SDK for Develop Mobile Apps.Ionic: The Web SDK for Develop Mobile Apps.
Ionic: The Web SDK for Develop Mobile Apps.Matheus Cardoso
 
Web Accessibility Gone Wild (Now Even MORE Wilder!)
Web Accessibility Gone Wild (Now Even MORE Wilder!)Web Accessibility Gone Wild (Now Even MORE Wilder!)
Web Accessibility Gone Wild (Now Even MORE Wilder!)Jared Smith
 
Building iPad apps with Flex - 360Flex
Building iPad apps with Flex - 360FlexBuilding iPad apps with Flex - 360Flex
Building iPad apps with Flex - 360Flexdanielwanja
 
Making your site mobile-friendly - DevCSI Reading 21.07.2010
Making your site mobile-friendly - DevCSI Reading 21.07.2010Making your site mobile-friendly - DevCSI Reading 21.07.2010
Making your site mobile-friendly - DevCSI Reading 21.07.2010Patrick Lauke
 
Making your site mobile-friendly - Ignite Manchester 01.03.2010
Making your site mobile-friendly - Ignite Manchester 01.03.2010Making your site mobile-friendly - Ignite Manchester 01.03.2010
Making your site mobile-friendly - Ignite Manchester 01.03.2010Patrick Lauke
 
"Designing for the Mobile Web" by Michael Dick (December 2010)
"Designing for the Mobile Web" by Michael Dick (December 2010)"Designing for the Mobile Web" by Michael Dick (December 2010)
"Designing for the Mobile Web" by Michael Dick (December 2010)Mike Brenner
 

What's hot (10)

Building Mobile Applications with Ionic
Building Mobile Applications with IonicBuilding Mobile Applications with Ionic
Building Mobile Applications with Ionic
 
Testing For Web Accessibility
Testing For Web AccessibilityTesting For Web Accessibility
Testing For Web Accessibility
 
Mobile themes, QR codes, and shortURLs
Mobile themes, QR codes, and shortURLsMobile themes, QR codes, and shortURLs
Mobile themes, QR codes, and shortURLs
 
Ionic: The Web SDK for Develop Mobile Apps.
Ionic: The Web SDK for Develop Mobile Apps.Ionic: The Web SDK for Develop Mobile Apps.
Ionic: The Web SDK for Develop Mobile Apps.
 
Web Accessibility Gone Wild (Now Even MORE Wilder!)
Web Accessibility Gone Wild (Now Even MORE Wilder!)Web Accessibility Gone Wild (Now Even MORE Wilder!)
Web Accessibility Gone Wild (Now Even MORE Wilder!)
 
Building iPad apps with Flex - 360Flex
Building iPad apps with Flex - 360FlexBuilding iPad apps with Flex - 360Flex
Building iPad apps with Flex - 360Flex
 
Making your site mobile-friendly - DevCSI Reading 21.07.2010
Making your site mobile-friendly - DevCSI Reading 21.07.2010Making your site mobile-friendly - DevCSI Reading 21.07.2010
Making your site mobile-friendly - DevCSI Reading 21.07.2010
 
Making your site mobile-friendly - Ignite Manchester 01.03.2010
Making your site mobile-friendly - Ignite Manchester 01.03.2010Making your site mobile-friendly - Ignite Manchester 01.03.2010
Making your site mobile-friendly - Ignite Manchester 01.03.2010
 
"Designing for the Mobile Web" by Michael Dick (December 2010)
"Designing for the Mobile Web" by Michael Dick (December 2010)"Designing for the Mobile Web" by Michael Dick (December 2010)
"Designing for the Mobile Web" by Michael Dick (December 2010)
 
Xxx
XxxXxx
Xxx
 

Similar to Web app

Iphone Presentation for MuMe09
Iphone Presentation for MuMe09Iphone Presentation for MuMe09
Iphone Presentation for MuMe09Gonzalo Parra
 
Mobile App Development
Mobile App DevelopmentMobile App Development
Mobile App DevelopmentChris Morrell
 
移动端Web app开发
移动端Web app开发移动端Web app开发
移动端Web app开发Zhang Xiaoxue
 
Fake it 'til you make it
Fake it 'til you make itFake it 'til you make it
Fake it 'til you make itJonathan Snook
 
Html5 on Mobile(For Developer)
Html5 on Mobile(For Developer)Html5 on Mobile(For Developer)
Html5 on Mobile(For Developer)Adam Lu
 
Multi screen HTML5
Multi screen HTML5Multi screen HTML5
Multi screen HTML5Ron Reiter
 
SmartPhone Design and Delivery
SmartPhone Design and DeliverySmartPhone Design and Delivery
SmartPhone Design and DeliveryJason Diehl
 
スマートフォンサイトの作成術 - 大川洋一
スマートフォンサイトの作成術 - 大川洋一スマートフォンサイトの作成術 - 大川洋一
スマートフォンサイトの作成術 - 大川洋一okyawa
 
Philly ete-2011
Philly ete-2011Philly ete-2011
Philly ete-2011davyjones
 
HTML5 on Mobile
HTML5 on MobileHTML5 on Mobile
HTML5 on MobileAdam Lu
 
Plattformübergreifende App-Entwicklung (ein Vergleich) - MobileTechCon 2010
Plattformübergreifende App-Entwicklung (ein Vergleich) - MobileTechCon 2010Plattformübergreifende App-Entwicklung (ein Vergleich) - MobileTechCon 2010
Plattformübergreifende App-Entwicklung (ein Vergleich) - MobileTechCon 2010Heiko Behrens
 
HTML5 is the Future of Mobile, PhoneGap Takes You There Today
HTML5 is the Future of Mobile, PhoneGap Takes You There TodayHTML5 is the Future of Mobile, PhoneGap Takes You There Today
HTML5 is the Future of Mobile, PhoneGap Takes You There Todaydavyjones
 
Creating mobile apps without native code
Creating mobile apps without native codeCreating mobile apps without native code
Creating mobile apps without native codeJoakim Kemeny
 
Fixing the mobile web - Internet World Romania
Fixing the mobile web - Internet World RomaniaFixing the mobile web - Internet World Romania
Fixing the mobile web - Internet World RomaniaChristian Heilmann
 
iPhone Appleless Apps
iPhone Appleless AppsiPhone Appleless Apps
iPhone Appleless AppsRemy Sharp
 
Intro to PhoneGap and PhoneGap Build
Intro to PhoneGap and PhoneGap BuildIntro to PhoneGap and PhoneGap Build
Intro to PhoneGap and PhoneGap BuildChris Griffith
 
Introduction phonegap
Introduction phonegapIntroduction phonegap
Introduction phonegapRakesh Jha
 
Advanced programing in phonegap
Advanced programing in phonegapAdvanced programing in phonegap
Advanced programing in phonegapRakesh Jha
 
HTML5 and the Mobile Web
HTML5 and the Mobile WebHTML5 and the Mobile Web
HTML5 and the Mobile WebMrJ1971
 

Similar to Web app (20)

Iphone Presentation for MuMe09
Iphone Presentation for MuMe09Iphone Presentation for MuMe09
Iphone Presentation for MuMe09
 
Mobile App Development
Mobile App DevelopmentMobile App Development
Mobile App Development
 
移动端Web app开发
移动端Web app开发移动端Web app开发
移动端Web app开发
 
Fake it 'til you make it
Fake it 'til you make itFake it 'til you make it
Fake it 'til you make it
 
Html5 on Mobile(For Developer)
Html5 on Mobile(For Developer)Html5 on Mobile(For Developer)
Html5 on Mobile(For Developer)
 
Multi screen HTML5
Multi screen HTML5Multi screen HTML5
Multi screen HTML5
 
SmartPhone Design and Delivery
SmartPhone Design and DeliverySmartPhone Design and Delivery
SmartPhone Design and Delivery
 
Mobile for web developers
Mobile for web developersMobile for web developers
Mobile for web developers
 
スマートフォンサイトの作成術 - 大川洋一
スマートフォンサイトの作成術 - 大川洋一スマートフォンサイトの作成術 - 大川洋一
スマートフォンサイトの作成術 - 大川洋一
 
Philly ete-2011
Philly ete-2011Philly ete-2011
Philly ete-2011
 
HTML5 on Mobile
HTML5 on MobileHTML5 on Mobile
HTML5 on Mobile
 
Plattformübergreifende App-Entwicklung (ein Vergleich) - MobileTechCon 2010
Plattformübergreifende App-Entwicklung (ein Vergleich) - MobileTechCon 2010Plattformübergreifende App-Entwicklung (ein Vergleich) - MobileTechCon 2010
Plattformübergreifende App-Entwicklung (ein Vergleich) - MobileTechCon 2010
 
HTML5 is the Future of Mobile, PhoneGap Takes You There Today
HTML5 is the Future of Mobile, PhoneGap Takes You There TodayHTML5 is the Future of Mobile, PhoneGap Takes You There Today
HTML5 is the Future of Mobile, PhoneGap Takes You There Today
 
Creating mobile apps without native code
Creating mobile apps without native codeCreating mobile apps without native code
Creating mobile apps without native code
 
Fixing the mobile web - Internet World Romania
Fixing the mobile web - Internet World RomaniaFixing the mobile web - Internet World Romania
Fixing the mobile web - Internet World Romania
 
iPhone Appleless Apps
iPhone Appleless AppsiPhone Appleless Apps
iPhone Appleless Apps
 
Intro to PhoneGap and PhoneGap Build
Intro to PhoneGap and PhoneGap BuildIntro to PhoneGap and PhoneGap Build
Intro to PhoneGap and PhoneGap Build
 
Introduction phonegap
Introduction phonegapIntroduction phonegap
Introduction phonegap
 
Advanced programing in phonegap
Advanced programing in phonegapAdvanced programing in phonegap
Advanced programing in phonegap
 
HTML5 and the Mobile Web
HTML5 and the Mobile WebHTML5 and the Mobile Web
HTML5 and the Mobile Web
 

Recently uploaded

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...caitlingebhard1
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Simplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxSimplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxMarkSteadman7
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data SciencePaolo Missier
 
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....rightmanforbloodline
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuidePixlogix Infotech
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard37
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaWSO2
 
ChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityVictorSzoltysek
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Navigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseNavigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseWSO2
 

Recently uploaded (20)

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Simplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxSimplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptx
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
 
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate Guide
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using Ballerina
 
ChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps Productivity
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Navigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseNavigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern Enterprise
 

Web app

  • 1. Web Apps 2010.08.18
  • 2. Web App vs Native App • Web App ? web app web app iTunes App Store Object-C • Native App ? Object-C iTunes App Store
  • 3. Web App vs Native App Web App Native App HTML, CSS, Javascript Objective-C(iPhone), Java(Android) XCode(iPhone), Eclipse(Android) , iUI, jQTouch... Cocoa Touch(iPhone), UI Framework(Android) Mac Mac (iPhone), Android App $99(iPhone) or $35(Android) - / ... App Store/Market / & (iPhone) Android/Blackberry
  • 4. HTML5 ? • iPhone, Android HTML5 WebKit • iOS, Android, Blackberry, , Windows Mobile, Windows Phone 7
  • 5. HTML5 ?
  • 6. HTML5 ?
  • 7. HTML5 ? • Even Google was not rich enough to support all of the different mobile platforms from Apple’s AppStore to those of the BlackBerry, Windows Mobile, Android and the many variations of the Nokia platform - Vic Gundotra, Google Engineering VP • 2010년 6월 24일에 공지된 행정안전부 고시 “제 2010-40호” 국민들이 다양한 모바일 기기를 사용할 수 있도록 ‘모바일 앱(App)’ 방 식보다 ‘모바일 웹(Web)‘ 방식을 표준으로 권고 모바일 웹 방식 서비스 개발을 위한 기술 표준지침 마련 3
  • 8. HTML5 Key Elements for Mobile • Offline : LocalStorage, Web Database, App Cache • : Video, Audio, Cnavas • : Advanced Forms • : GeoLocation
  • 9. HTML5 on Mobile • HTML5 • • Moblie HTML5 •
  • 10.
  • 11. HTML5 = HTML + CSS3 + JS API
  • 12. JS API • Client Side Storage - Web SQL Database - App Cache (cache-manifest) - Web Storage (localStorage, sessionStorage) • Communication - Web Sockets - Web Workers • Desktop experience - Notifications - Drag & Drop API • Geolocation
  • 13. HTML • Semantics (New tags, Link Relations, Microdata) • Accessibility (ARIA roles) • Web Forms 2.0 (Input Fields) • Multimedia (Audio Tag,Video Tag) • 2D & 3D drawing (Canvas, WebGL, SVG)
  • 14. CSS • Typography • Visuals • Transitions, Transforms & Animations
  • 15. iPhone Web App • iPhone - App Store - App + Web Hybrid - iPad Web App - DashCode • Safari - Add to Home Screen
  • 16. Web App • Online Web Application • Offline Enabled Web Application
  • 17. Web App • Offline Web Application • Hybrid Web Application
  • 18. Web Apps On iPhone
  • 19. iPhone Web App 1 • css <link rel=”stylesheet” type=”text/css” href=”iphone.css” media=”only screen and (max-width: 480px)” /> <link rel=”stylesheet” type=”text/css” href=”desktop.css” media=”screen and (min-width: 481px)” /> • User Agent Mozilla/5.0 (iPad; U CPU like Mac OS X; en) AppleWebKit/420.1 (KHTML, like Gecko) Version 3.0 Mobile/4A93 Safari/419.3 Mozilla/5.0 (iPhone; U CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version 3.0 Mobile/1A543 Safari/419.3 Mozilla/5.0 (iPod; U CPU OS 3_2 like Mac OS X; en) AppleWebKit/ 531.21.10 (KHTML, like Gecko) Version 4.0.4 Mobile/7B334B Safari/531.21 javascript : if((navigator.userAgent.match(/iPhone/i)) {} php : if(strpos($_SERVER[‘HTTP_USER_AGENT’], ‘iPod’) !== false) {}
  • 20. iPhone Web App 2 • iPhone Browser & viewport iPhone : 320 x 480px Status Bar : 20px URL Bar : 60px : 320x356px Viewport : 980px <meta name=‘viewport‘ content=‘width=device-width; initial-scale=1.0; user-scalable=no’ /> Button Bar : 44px
  • 21. iPhone Web App 3 • Safari UI (URL Bar, Button Bar) <meta name=”apple-mobile-web-app-capable” content=”yes” /> / <meta name=”apple-mobile-web-app-status-bar-style” content=”black” /> * * URL Bar window.addEventListener(‘load’, function() { setTimeout(scrollTo, 0, 0, 1); }, false); * status-bar-style: default, black, black-translucent( ) * UI Fullscreen if (navigator.standalone) { alert(‘ ’); }
  • 22. iPhone Web App 4 • (57x57) <link rel=”apple-touch-icon” href=”apple-touch-icon.png” /> <link rel=”apple-touch-icon” href=”apple-touch-icon-precomposed.png” /> • Startup <link rel=”apple-touch-startup-image” href=”/startup.png” /> * Home
  • 23. iPhone Web App 5 • Orientation function checkOrientation() { switch (window.orientation) { case 0: alert(‘Orientation: Portrait’); break; case 90: case -90: alert(‘Orientation: Landscape’); break; } } • Online function checkOnline() { if (navigator.onLine) { alert(‘There is a network connection’); else { alert(‘There is no network connection’); } }
  • 29. iPhone Web App 7 • iPhone style UI library * jQTouch - http://jqtouch.com * iUI - http://iui-js.org * WebApp.Net - http://webapp-net.com
  • 30. iPhone Web App 8 • <style type=”text/css” media=”screen”>@import “jqtouch.min.css”;</style> <style type=”text/css” media=”screen”>@import “themes/apple/ theme.min.css”;</style> <script src=”jquery.1.3.2.min.js” type=”text/javascript” charset=”utf-8”></ sript> <script src=”jqtouch.min.js” type=”text/javascript” charset=”utf-8”></ script> <script type=”text/javascript”> var jQT = $.jQTouch({ icon: ‘icon.png’, statusBar: ‘black’ }); </script>
  • 31. iPhone Web App 9 • View <div id=”home”> <div class=”toolbar”> <h1>CPCGUARD</h1> </div> <ul> <li class=”arrow”><a href=”#content”>CPCGUARD </a></li> <li class=”arrow”><a href=”#content”>S-POPUP</a></li> <li class=”arrow”><a href=”#content”>S-ON</a></li> </ul> </div> <div id=”content”> <div class=”toolbar”> <h1>CONTENT</h1> <a class=”button back” href=”#”>Back</a> </div> </div>

Editor's Notes